package factotyService;

import java.io.IOException;
import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.json.JSONException;

import util.Result;

public interface ServiceProcess {
	//解包
	public void unpack() 
			throws UnsupportedEncodingException, IOException, JSONException;
	//校验
	public void check();
	//业务处理
	public void hand();
	//打包
	public void pack() throws IOException;
	
	public void _do() throws IOException, JSONException;
}
